package model

import (
	"time"
)

type AuPersonalDailyIncome struct {
	Id           int       `xorm:"not null pk autoincr INT(11)"`
	Aid          int       `xorm:"not null index unique(aid_date) INT(11)"`
	SuperiorId   int       `xorm:"not null index INT(11)"`
	DevelopDeal  float64   `xorm:"not null DOUBLE(10,4)"`
	DirectDeal   float64   `xorm:"not null DOUBLE(10,4)"`
	IndirectDeal float64   `xorm:"not null DOUBLE(10,4)"`
	TotalMoney   float64   `xorm:"not null DOUBLE(10,4)"`
	Date         time.Time `xorm:"not null index unique(aid_date) DATE"`
}
